﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="cboNumerico.ascx.cs" Inherits="Controles_cboNumerico" %>
<asp:DropDownList ID="cboNumerico" runat="server" Visible="false"   >
</asp:DropDownList>
<asp:TextBox ID="txtNumero" size="3" runat="server" Width="25px"
onkeyup="if (this.value >=6) this.style.color='blue'; if (this.value >= 4 && this.value <6) this.style.color='green'; if (this.value < 4) this.style.color='red';if(this.value>10){this.value=10;return false}; "
onkeypress="return validar(this); " 
maxlength="4" Visible="false" OnTextChanged="txtNumero_TextChanged" ></asp:TextBox>
<asp:TextBox ID="txtValueInit" runat="server" Visible="false"></asp:TextBox>